package jmine.tec.report.impl;

import jmine.tec.report.api.ReportTextBox;

/**
 * Implementação de report text box.
 * 
 * @author Renan Kuroki
 */
public class ReportTextBoxImpl extends AbstractReportElement implements ReportTextBox {

    private String title;

    private String body;

    /**
     * Construtor
     * 
     * @param id id
     * @param title title
     * @param body body
     */
    public ReportTextBoxImpl(String id, String title, String body) {
        super(id);
        this.title = title;
        this.body = body;
    }

    /**
     * {@inheritDoc}
     */
    public String getRendererType() {
        return RENDERER;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return this.title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the body
     */
    public String getBody() {
        return this.body;
    }

    /**
     * @param body the body to set
     */
    public void setBody(String body) {
        this.body = body;
    }
}
